/*
* (C) Copyright 2013 Philip Kirchhoff 
* 
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
* 
*-------------------------------------------------------------------------------
* This file is part of the DataLogger library by Philip Kirchhoff
* https://code.google.com/p/pk-data-logger/
* SVN: http://pk-data-logger.googlecode.com/svn/trunk
*-------------------------------------------------------------------------------
* Module    : DlFileWriter.h   
* Author    : Kirchhoff, Philip
* Date      : 01.04.2013
*-------------------------------------------------------------------------------
* Header file for DlFileWriter class
*   
*-------------------------------------------------------------------------------
* Change History:
* 01.04.2013  Kirchhoff 	Created
--------------------------------------------------------------------------------
*/

#ifndef DL_FILEWRITER_H
#define DL_FILEWRITER_H

#include <string>
#include "DlFileHandler.h"


/***************************************************************************//**
* @brief Generates output files from a given dataset
 ******************************************************************************/
class DlFileWriter : public DlFileHandler
{
public:

    /**************************************************************************//**
    * @brief Constructs a Dl file writer with a specified file name
    ******************************************************************************/
	DlFileWriter(const char *fileName);

    /**************************************************************************//**
    * @brief Destructor
    ******************************************************************************/
	~DlFileWriter();	

    /**************************************************************************//**
    * @brief Write dataset to file
    ******************************************************************************/
	void writeData();

private:

    void writeCsvStdFile();

};

#endif
